<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html lang="zn_CH" class="high">
<head>
	<c:set var="basePath" scope="request" value="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/"/>
	<base href="${basePath}">
	<meta charset="UTF-8">
	<!-- 网站ICON -->
	<link rel="shortcut icon" href="common/images/favicon_maibox.png">
	<title ng-bind="title"></title>
	<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
	<meta name="renderer" content="webkit">

	<link href="common/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
	<link href="common/lib/Font-Awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
	<link href="common/lib/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="common/lib/ui-select/select.min.css">
	<link rel="stylesheet" href="common/lib/bootstrap3-dialog/css/bootstrap-dialog.css">
	<link href="common/lib/adminlte/css/AdminLTE.min.css" rel="stylesheet" type="text/css">
	<link href="common/lib/adminlte/css/skins/skin-blue.min.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="common/lib/emailtip/jquery.emailtip.css">
	<link rel="stylesheet" href="common/lib/bootstrap-select/css/bootstrap-select.min.css">
	<link href="common/css/customize.css" rel="stylesheet" type="text/css">
	<!-- 座位图样式 -->
	<link href="common/css/plus_seat.css" rel="stylesheet" type="text/css">


jQuery-photoClip-master

	<script type="text/javascript">
		var userId = ${sessionScope.userId != null} ? '${sessionScope.userId}' : 0;
		var userJob = ${sessionScope.userJob != null} ? '${sessionScope.userJob}' : "";
		document.onkeydown = function () {
			if (window.event && window.event.keyCode == 13) {
				window.event.returnValue = false;
			}
		};
		
		//重写toFixed方法
		Number.prototype.toFixed = function(d) {
			var s = this + "";
			if (!d)
				d = 0;
			if (s.indexOf(".") == -1)
				s += ".";
			s += new Array(d + 1).join("0");
			if (new RegExp("^(-|\\+)?(\\d+(\\.\\d{0," + (d + 1) + "})?)\\d*$").test(s)) {
				var s = "0" + RegExp.$2, pm = RegExp.$1, a = RegExp.$3.length, b = true;
				if (a == d + 2) {
					a = s.match(/\d/g);
					if (parseInt(a[a.length - 1]) > 4) {
						for (var i = a.length - 2; i >= 0; i--) {
							a[i] = parseInt(a[i]) + 1;
							if (a[i] == 10) {
								a[i] = 0;
								b = i != 1;
							} else
								break;
						}
					}
					s = a.join("").replace(new RegExp("(\\d+)(\\d{" + d + "})\\d$"), "$1.$2");
				}
				if (b)
					s = s.substr(1);
				return (pm + s).replace(/\.$/, "");
			}
			return this + "";
		};
	</script>
</head>
<body class="skin-blue fixed">
<div class="wrapper">
	<header class="main-header">
		<a href="javascript:;" class="logo" ng-click="pathToDashboard()">
			<span class="logo-mini"><b>M+</b>LT</span>
			<span class="logo-lg" style="font-family: 'Microsoft Yahei';">
				<%-- <c:if test="${systemId != 1002}">
					<img src="transition/images/logo-sm.png" />
				</c:if> --%>
			</span>
		</a>
		<nav class="navbar navbar-static-top" role="navigation">
			<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
				<span class="sr-only">Toggle navigation</span>
			</a>
			<div class="navbar-custom-menu">
				<ul class="nav navbar-nav">
					<li class="dropdown user user-menu">
						<plus-user-info></plus-user-info>
					</li>
				</ul>
			</div>
		</nav>
	</header>
	<aside class="main-sidebar collapsed-sidebar">
		<section class="sidebar" style="height: auto;">
			<plus-menu-tree service-name="ShowTreeList" service-method="list" init-url="${viewUrl}"></plus-menu-tree>
		</section>
	</aside>

	<div class="content-wrapper" style="min-height: 734px;">
		<plus-menu-nav service-name="ShowTreeList" service-method="list" init-url="${viewUrl}"></plus-menu-nav>
		<section class="content body" ng-view id="contentDiv">
		</section>
	</div>
	<footer class="main-footer">
		<div class="pull-right hidden-xs">
			<b>Version</b> 0.0.1
		</div>
	</footer>
</div>
<script src="transition/js/boss-frame-angular-global-0.1.js"></script>
<script src="common/lib/jQuery-photoClip-master/js/hammer.js"></script>
<script src="common/lib/jQuery-photoClip-master/js/iscroll-zoom.js"></script>
<script src="common/lib/jQuery-photoClip-master/js/jquery.photoClip.js"></script>
<script src="common/lib/jQuery-photoClip-master/js/lrz.all.bundle.js"></script>

<c:choose>
  <c:when test="${jsCompress eq 1}">
      <script data-main="common/js/all.js" src="common/js/require.js"></script>  
  </c:when>
  <c:otherwise>
     <script data-main="common/js/basic-index" src="common/js/require.js"></script> 
  </c:otherwise>
</c:choose>
</body>
</html>

